import 'lib-flexible'
//路由发生变化的时候
//app.tsx相当于‘入口’文件
interface propType{
    location:any, 
    routes:any,
    action:any,}
export function onRouteChange({
    location, 
    routes,
    action,
  }:propType) {
    console.log(location.pathname);
  }